/**
 * 
 */
package Consult.model;

/**
 * @author zhaoyana
 *
 */
public class User {


private int id;//账号
private String userName;//用户名
private String password;//密码

public User() {
	super();
	
}
public User(String userName, String password) {
	super();
	this.id = id;
	this.userName = userName;
	this.password = password;
}
//public User(int id, String userName, String password) {
//	
//}


/**
 * @param userName2
 * @param password2
 */
public User(User userName2, String password2) {
	// TODO Auto-generated constructor stub
}
/**
 * @param userName2
 * @param password2
 */
//public User(User userName, String password) {
//	super();
//	
//	this.userName=userName;
//	this.password=password;	// TODO Auto-generated constructor stub
//}
@Override
public String toString() {
	return password;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getUserName() {
	return userName;
}
public void setUserName(String userName) {
	this.userName = userName;
}
public String getPassword() {
	return password;
}
public void setPassword(String password) {
	this.password = password;
}

}
